/*
 * Copyright (c) 2018 HiSilicon Technologies Co., Ltd.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 *
 */

#ifndef __HIFB_COEF_ORG_H__
#define __HIFB_COEF_ORG_H__

#include "hifb_coef.h"

#define HIFB_SIN_TAB_RANGE 61
#define HIFB_COS_TAB_RANGE 61


/* RGB->YUV601 Constant coefficient matrix */
extern const CscCoef_S g_stCSC_RGB2YUV601_tv;
/* RGB->YUV601 Constant coefficient matrix */
extern const CscCoef_S g_stCSC_RGB2YUV601_pc;
/* RGB->YUV709 Constant coefficient matrix */
extern const CscCoef_S g_stCSC_RGB2YUV709_tv;
/* RGB->YUV709 Constant coefficient matrix */
extern const CscCoef_S g_stCSC_RGB2YUV709_pc;
/* RGB->YUV2020 Constant coefficient matrix */
extern const CscCoef_S g_stCSC_RGB2YUV2020_pc;
/* YUV601->RGB Constant coefficient matrix */
extern const CscCoef_S g_stCSC_YUV6012RGB_pc;
/* YUV709->RGB Constant coefficient matrix */
extern const CscCoef_S g_stCSC_YUV7092RGB_pc;
/* YUV2020->RGB Constant coefficient matrix */
extern const CscCoef_S g_stCSC_YUV20202RGB_pc;
/* YUV601->YUV709 Constant coefficient matrix */
extern const CscCoef_S g_stCSC_YUV2YUV_601_709;
/* YUV709->YUV601 Constant coefficient matrix */
extern const CscCoef_S g_stCSC_YUV2YUV_709_601;
/* YUV601->YUV709 Constant coefficient matrix */
extern const CscCoef_S g_stCSC_Init;

extern const int g_hifb_sin_table[HIFB_SIN_TAB_RANGE];
extern const int g_hifb_cos_table[HIFB_COS_TAB_RANGE];

#endif
